<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<title>M3Gen :: Configuration</title>
		<link rel="stylesheet" href="css/m3gen.css" type="text/css" />
	</head>
	<body>
		<h1>M3Gen :: Configuration</h1>
		<p>
			The following scripts must be included in the HTML page (or using some include mechanism from with the .js files)				
			<ul>
				<li>json libraries</li>
				<li>infrastructure</li>
				<li>abstract classes</li>
				<li>event handling</li>
				<li>Parsers</li>
				<li>Builders</li>
				<li>jsTree model generator</li>
			</ul>		
			Then the scripts for the concrete model parsing can be included:
			<ul>
				<li>models</li>
				<li>model selection functions</li>
				<li>ruleSet configurations for models</li>
				<li>m3gen execution</li>
			</ul>
		</p>		
		<h2>Example setup</h2>
		<div class="code">
			<p>
		  &lt;head>
		  	...<br>
			<span class="comment">&lt;!-- json specific libs --></span><br>
			&lt;script type="text/javascript" src="script/json/jsonpath-0.8.0.js">&lt;/script><br>					
			&lt;script type="text/javascript" src="script/json/jquery.jpath.js">&lt;/script><br>
			&lt;script type="text/javascript" src="script/json/jsonschema-b3.js">&lt;/script><br>
			&lt;script type="text/javascript" src="script/json/ref.js">&lt;/script><br>
			&lt;script type="text/javascript" src="script/json/schema.js">&lt;/script><br>
			&lt;script type="text/javascript" src="script/json/query.js">&lt;/script><br>
										
			<span class="comment">&lt;!-- infrastructure --></span><br>			
			&lt;script type="text/javascript" src="util/inheritanceUtil.js">&lt;/script><br>			
			&lt;script type="text/javascript" src="classes/m3gen.Setup.js">&lt;/script><br>					
			&lt;script type="text/javascript" src="classes/m3gen.Exceptions.js">&lt;/script><br>
			&lt;script type="text/javascript" src="classes/m3gen.Utils.js">&lt;/script><br>			
			
			<span class="comment">&lt;!-- abstract classes --></span><br>
			&lt;script type="text/javascript" src="classes/m3gen.Base.js">&lt;/script>
			&lt;script type="text/javascript" src="classes/m3gen.Builder.js">&lt;/script>
			&lt;script type="text/javascript" src="classes/m3gen.Parser.js">&lt;/script>	
			
			&lt;span class="comment">&lt;!-- event handling --></span><br>						
			&lt;script type="text/javascript" src="classes/m3gen.EventController.js">&lt;/script>
			&lt;script type="text/javascript" src="classes/m3gen.EventHandlers.js">&lt;/script>
			&lt;script type="text/javascript" src="classes/m3gen.Configuration.js">&lt;/script>				

			<span class="comment">&lt;!-- Parsers --></span><br>					
			&lt;script type="text/javascript" src="classes/m3gen.ChildParser.js">&lt;/script>
			&lt;script type="text/javascript" src="classes/m3gen.JsonObjParser.js">&lt;/script>	
			
			<span class="comment">&lt;!-- Builders --></span><br>										

			&lt;script type="text/javascript" src="classes/m3gen.JsTreeNodeBuilder.js">&lt;/script>
			&lt;script type="text/javascript" src="classes/m3gen.JsTreeNodeContentBuilders.js">&lt;/script>
			&lt;script type="text/javascript" src="classes/m3gen.JsTreeBranchBuilder.js">&lt;/script>
			&lt;script type="text/javascript" src="classes/m3gen.NodeObjBranchBuilder.js">&lt;/script>
			<span class="comment">&lt;!-- Generator --></span><br>		
			&lt;script type="text/javascript" src="classes/m3gen.JsTreeModelGenerator.js">&lt;/script>
			<br>
			INCLUDE MODELS<br>
			INCLUDE MODEL SELECT FUNCTIONS<br>
			INCLUDE RULESET CONFIGURATIONS<br>
			M3GEN EXECUTION<br>
		  &lt;/head>
		  </p>
		</div>
		<h2>Event handler configuration</h2>
		<p>
			TODO
		</p>
	</body>
</html>
